Namespace - LJCNetCommon
Parameters
text - The text value.
endDelimiter - The end delimiter.
Returns
True if the end delimiter is found.
Syntax
C# |
public Boolean HasEndDelimiter(String text, String endDelimiter)
|
Check if the text has the end delimiter. (E)
Example
C# |
using LJCNetCommon;
var tokenizer = new CodeTokenizer();
string text = " /// <summary>This is an XML comment.</summary>";
tokenizer.SetTokens(text);
short tokenIndex = 1;
string token = tokenizer.GetToken(tokenIndex);
bool hasEnd = tokenizer.HasEndDelimiter(token, "</summary>");
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.